//
//  ZHPlayViewController.h
//  XMLYFM
//
//  Created by dllo on 15/12/26.
//  Copyright © 2015年 zzl. All rights reserved.
//

#import "BaseViewController.h"
#import "ZHPlayerView.h"
#import "STKAudioPlayer.h"

@interface ZHPlayViewController : BaseViewController

+(instancetype)sharaMusicPlayer;

@property(nonatomic,retain)ZHPlayerView *playerView;


//播放器
@property(nonatomic,retain)STKAudioPlayer *player;

//定时器
@property(nonatomic,retain)NSTimer *playTimer;
@property(nonatomic,retain)NSTimer *titleTimer;


@property(nonatomic,retain)UILabel *currentTimeLabel;
@property(nonatomic,retain)UILabel *totalTimeLabel;

//播放的音乐数组
@property(nonatomic,retain)NSMutableArray *allMusicArray;

//@property(nonatomic,assign)NSInteger index;


@property(nonatomic,assign)NSInteger song_id;//传过来的音频id
@property(nonatomic,assign)NSInteger indexRow;//记录上一页点击cell的下标



@end
